package com.jiulong.dao;

import com.jiulong.model.TFavorite;
import com.jiulong.model.TFavoriteExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TFavoriteMapper {
    long countByExample(TFavoriteExample example);

    int deleteByExample(TFavoriteExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TFavorite record);

    int insertSelective(TFavorite record);

    List<TFavorite> selectByExample(TFavoriteExample example);

    TFavorite selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TFavorite record, @Param("example") TFavoriteExample example);

    int updateByExample(@Param("record") TFavorite record, @Param("example") TFavoriteExample example);

    int updateByPrimaryKeySelective(TFavorite record);

    int updateByPrimaryKey(TFavorite record);
}